﻿using System.Windows.Controls;
using System.Windows;

namespace Client.components
{
    /// <summary>
    /// Saves galaxy size for use in StarMap
    /// </summary>
    class LabelGalaxySize: Label
    {
        protected override void OnContentChanged(object oldContent, object newContent)
        {
            base.OnContentChanged(oldContent, newContent);
            StartGameOptionsGlobals.GalaxySize = newContent;
        }
    }
}
